package com.yt.server.common.dao;

import java.util.List;
import com.yt.server.common.taglib.PageController;

/**
 * 
 * @author Administrator
 * @param <T>
 * @描述 DAO基础接口 2011.8.20 增删改查、分页、View
 */
public interface BasicDao<T> {

	public void create(T entity) throws Exception;

	public void delete(List<Long> entity) throws Exception;

	public void edit(T entity) throws Exception;

	public T view(T entity) throws Exception;

	public PageController<?> pageList(String searchName, int page)
			throws Exception;

	public List<?> list(Object entity) throws Exception;
}
